package cn.iocoder.yudao.module.erp.controller.admin.contract.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 合同信息分页 Request VO")
@Data
public class ContractPageReqVO extends PageParam {

    @Schema(description = "合同名称", example = "赵六")
    private String contractName;

    @Schema(description = "合同编号")
    private String contractNo;

    @Schema(description = "合同责任人ID", example = "1")
    private Long contractResponsiblePersonId;

    @Schema(description = "合同状态", example = "2")

    private String contractStatus;

    @Schema(description = "签订时间范围")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] signingDate;

}